<template>
  <div
    class="notfound-container
"
  >
    <h2>404 NOTFOUND</h2>
    <van-button type="primary" @click="toHome">返回首页</van-button>
  </div>
</template>

<script>
export default {
  name: 'notfound',
  methods: {
    toHome () {
      this.$router.push({ path: '/home' })
    }
  }
}
</script>

<style scoped lang="less">
.notfound-container {
  padding-top: 30px;
  text-align: center;
  .van-button {
    margin-top: 40px;
  }
}
</style>
